package com.dingdang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2   //接口文档
@EnableZuulProxy   //开启zuul网关
@EnableDiscoveryClient  //连接nacos注册中心
public class QianRenQianMianApp {

    public static void main(String[] args) {
        SpringApplication.run(QianRenQianMianApp.class,args);
    }
}
